package com.sunwayworld.basemodule.business.result.service;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.basemodule.business.ordertask.bean.LimsOrderTaskBean;
import com.sunwayworld.basemodule.business.result.bean.LimsRunBean;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.service.GenericService;
import com.sunwayworld.framework.support.choosable.service.GenericChoosableService;

import java.util.List;

public interface LimsRunService extends GenericService<LimsRunBean, Long>, GenericChoosableService<LimsRunBean, Long> {

    void submit(RestJsonWrapperBean wrapperBean);

    void passReview(RestJsonWrapperBean wrapperBean);

    void rejectReview(RestJsonWrapperBean wrapperBean);

    void abnormal(RestJsonWrapperBean wrapperBean);

    void abnormalPass(RestJsonWrapperBean wrapperBean);

    void abnormalStop(RestJsonWrapperBean wrapperBean);

    void abnormalStop(List<LimsOrderTaskBean> stopTaskList, String reason);

    JSONObject resultEditHandOver(RestJsonWrapperBean wrapperBean);

    JSONObject resultAuditHandOver(RestJsonWrapperBean wrapperBean);
}
